package com.aispeech.astools.recorder;


/**
 * @author rain  05.14 2019
 */

public interface RecordListener {

    enum EVENT{
        INIT,START,STOP,DESTROY,KEY_UP,KEY_DOWN
    }

    void onBuffer(byte[] data);

    void onEvent(EVENT event);

    void onError(String info);
}
